package com.g4.shoppingback.mapper;

import com.g4.shoppingback.pojo.DdKindType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* <p>
    * 型号列表 Mapper 接口
    * </p>
*
* @author admin
* @since 2022-02-19
*/
@Mapper
public interface DdKindTypeMapper extends BaseMapper<DdKindType> {

    void updateItem(@Param("id") Integer id,
                    @Param("state") Integer state);

    List<DdKindType> selectId(Integer id);
}
